//
//  MoreTableViewCellModel.m
//  微blog
//
//  Created by Jorn.Wu on 15/8/22.
//  Copyright (c) 2015年 Jorn.Wu(jorn_wza@sina.com). All rights reserved.
//

#import "MoreTableViewCellModel.h"

@implementation MoreTableViewCellModel

/**
 * 示例方法
 */
- (instancetype)initWithText:(NSString *)text
                  detailText:(NSString *)detailText
               textColorName:(NSString *)textColorName
                    iconName:(NSString *)iconName
          backgroudColorName:(NSString *)bgColorName{
    
    if (self = [super init]) {
        
        self.text = [text copy];
        self.detailText = [detailText copy];
        self.textcolorName = [textColorName copy];
        self.iconName = [iconName copy];
        self.backgroudColorName = [bgColorName copy];
        
    }
    
    return self;
}


/**
 * 静态方法（类方法）
 */
+ (MoreTableViewCellModel *)modelWithText:(NSString *)text
                               detailText:(NSString *)detailText
                            textColorName:(NSString *)textColorName
                                 iconName:(NSString *)iconName
                       backgroudColorName:(NSString *)bgColorName{
    
    return [[self alloc] initWithText:text
                           detailText:detailText
                        textColorName:textColorName
                             iconName:iconName
                   backgroudColorName:bgColorName];
}

@end
